package na.learn.java.corepatterns.caching;

public class CacheableImpl implements Cacheable {

	private String resource;

	public CacheableImpl(String str) {
		super();
		this.resource = str;
	}

	public void notifyRemoval() {
		System.out.println("~~~XXXX~~~~~XXXX Got notification!!");

	}

	public String getResource() {
		return resource;
	}

	public void setResource(String resource) {
		this.resource = resource;
	}

}
